﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.ObjectModel;

namespace ForexSimulator
{
    public struct Response
    {
        private DateTime _tickTime;

        public DateTime TickTime
        {
            get { return _tickTime; }
            set { _tickTime = value; }
        }

        private Double _rateBid;

        public Double RateBid
        {
            get { return _rateBid; }
            set { _rateBid = value; }
        }

        private Double _rateAsk;

        public Double RateAsk
        {
            get { return _rateAsk; }
            set { _rateAsk = value; }
        }


        private DateTime _requestTime;

        public DateTime RequestTime
        {
            get { return _requestTime; }
            set { _requestTime = value; }
        }

        private double _ms;

        public double MS
        {
            get { return _ms; }
            set { _ms = value; }
        }

        private long _ticks;

        public long Ticks
        {
            get { return _ticks; }
            set { _ticks = value; }
        }
    }


    public class ResponseHistoryList : ObservableCollection<Response>
    {
        public ResponseHistoryList()
            : base()
        {
        }
    }
}
